package cn.web.tunnelrobot.service;

import cn.web.tunnelrobot.dto.HardwareTestInfoDTO;

import java.util.HashMap;
import java.util.List;

import cn.web.tunnelrobot.dto.Project1;
import cn.web.tunnelrobot.pojo.Project;
import org.springframework.http.ResponseEntity;

public interface HomePageService {
    HashMap<String, Object> getTunnel(Integer pageNo, Integer prId);
    HashMap<String, Object> getTunnelInformation(Integer prId);

/*
    HashMap<String, Object> getConstructionProgress(Integer prId);
*/
    //获取首页轮播警告信息30条
    HashMap<String, Object> homePageShuffling();
    //首页隧道检测
    HashMap<String, Object> TunnelInspection(Integer prId, Integer htMileage, Float htDailySettl1, Float htDailySettl2, Float htDailyConvergence1, Float htDailyConvergence2, String time1, String time2, Integer pageNo, Integer pageSize,Integer export);

    HashMap<String, Object> SettlAndConvergence(Integer prId, Integer pageNo, Integer pageSize);
    //获取项目简介
    HashMap<String, Object> getProjectIntro();

    ResponseEntity<byte[]> employee2Excel(List<HardwareTestInfoDTO> list);

    HashMap<String, Object> getFive(Integer type);

    HashMap<String, Object> getProjectProgressById(Integer prId);
    HashMap<String, Object> updateProjectProgress(Project1 project);
}
